package com.htx.zqs.blesmartmask.bean;

import java.util.List;

/**
 * Created by zhao on 2018/7/13.
 */

public class ChartInfoBean {
    /**
     * msg : aaa
     * code : 200
     * data : {"deviceId":"aaaaaa","userInfoCount":10,"userInfo":[{"courseDate":"2018-10-11","name":"嫩白保湿","afterCourseData":[{"afterDate":"2018-12-10","afterFfat":40,"afterFwater":33},{"afterDate":"2018-12-10","afterFfat":22,"afterFwater":30}],"beforeCourseData":[{"beforeDate":"2018-12-10","beforeFfat":30,"beforeFwater":30},{"beforeDate":"2018-12-10","beforeFfat":40,"beforeFwater":40}]}]}
     */

    private String msg;
    private int code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * deviceId : aaaaaa
         * userInfoCount : 10
         * userInfo : [{"courseDate":"2018-10-11","name":"嫩白保湿","afterCourseData":[{"afterDate":"2018-12-10","afterFfat":40,"afterFwater":33},{"afterDate":"2018-12-10","afterFfat":22,"afterFwater":30}],"beforeCourseData":[{"beforeDate":"2018-12-10","beforeFfat":30,"beforeFwater":30},{"beforeDate":"2018-12-10","beforeFfat":40,"beforeFwater":40}]}]
         */

        private String deviceId;
        private int userInfoCount;
        private List<UserInfoBean> userInfo;

        public String getDeviceId() {
            return deviceId;
        }

        public void setDeviceId(String deviceId) {
            this.deviceId = deviceId;
        }

        public int getUserInfoCount() {
            return userInfoCount;
        }

        public void setUserInfoCount(int userInfoCount) {
            this.userInfoCount = userInfoCount;
        }

        public List<UserInfoBean> getUserInfo() {
            return userInfo;
        }

        public void setUserInfo(List<UserInfoBean> userInfo) {
            this.userInfo = userInfo;
        }

        public static class UserInfoBean {
            @Override
            public String toString() {
                return "UserInfoBean{" +
                        "courseDate='" + courseDate + '\'' +
                        ", courseName='" + courseName + '\'' +
                        ", afterCourseData=" + afterCourseData +
                        ", beforeCourseData=" + beforeCourseData +
                        '}';
            }

            /**
             * courseDate : 2018-10-11
             * name : 嫩白保湿
             * afterCourseData : [{"afterDate":"2018-12-10","afterFfat":40,"afterFwater":33},{"afterDate":"2018-12-10","afterFfat":22,"afterFwater":30}]
             * beforeCourseData : [{"beforeDate":"2018-12-10","beforeFfat":30,"beforeFwater":30},{"beforeDate":"2018-12-10","beforeFfat":40,"beforeFwater":40}]
             */

            private String courseDate;
            private String courseName;
            private List<AfterCourseDataBean> afterCourseData;
            private List<BeforeCourseDataBean> beforeCourseData;

            public String getCourseDate() {
                return courseDate;
            }

            public void setCourseDate(String courseDate) {
                this.courseDate = courseDate;
            }

            public String getcourseName() {
                return courseName;
            }

            public void setcourseName(String courseName) {
                this.courseName = courseName;
            }

            public List<AfterCourseDataBean> getAfterCourseData() {
                return afterCourseData;
            }

            public void setAfterCourseData(List<AfterCourseDataBean> afterCourseData) {
                this.afterCourseData = afterCourseData;
            }

            public List<BeforeCourseDataBean> getBeforeCourseData() {
                return beforeCourseData;
            }

            public void setBeforeCourseData(List<BeforeCourseDataBean> beforeCourseData) {
                this.beforeCourseData = beforeCourseData;
            }

            public static class AfterCourseDataBean {
                @Override
                public String toString() {
                    return "AfterCourseDataBean{" +
                            "afterDate='" + afterDate + '\'' +
                            ", afterFfat=" + afterFfat +
                            ", afterFwater=" + afterFwater +
                            '}';
                }

                /**
                 * afterDate : 2018-12-10
                 * afterFfat : 40
                 * afterFwater : 33
                 */

                private String afterDate;
                private int afterFfat;
                private int afterFwater;

                public String getAfterDate() {
                    return afterDate;
                }

                public void setAfterDate(String afterDate) {
                    this.afterDate = afterDate;
                }

                public int getAfterFfat() {
                    return afterFfat;
                }

                public void setAfterFfat(int afterFfat) {
                    this.afterFfat = afterFfat;
                }

                public int getAfterFwater() {
                    return afterFwater;
                }

                public void setAfterFwater(int afterFwater) {
                    this.afterFwater = afterFwater;
                }
            }

            public static class BeforeCourseDataBean {
                @Override
                public String toString() {
                    return "BeforeCourseDataBean{" +
                            "beforeDate='" + beforeDate + '\'' +
                            ", beforeFfat=" + beforeFfat +
                            ", beforeFwater=" + beforeFwater +
                            '}';
                }

                /**
                 * beforeDate : 2018-12-10
                 * beforeFfat : 30
                 * beforeFwater : 30
                 */

                private String beforeDate;
                private int beforeFfat;
                private int beforeFwater;

                public String getBeforeDate() {
                    return beforeDate;
                }

                public void setBeforeDate(String beforeDate) {
                    this.beforeDate = beforeDate;
                }

                public int getBeforeFfat() {
                    return beforeFfat;
                }

                public void setBeforeFfat(int beforeFfat) {
                    this.beforeFfat = beforeFfat;
                }

                public int getBeforeFwater() {
                    return beforeFwater;
                }

                public void setBeforeFwater(int beforeFwater) {
                    this.beforeFwater = beforeFwater;
                }
            }
        }
    }
}
